package com.taobao.api.request;

import com.taobao.api.internal.util.RequestCheckUtils;
import java.util.Map;

import com.taobao.api.ApiRuleException;
import com.taobao.api.BaseTaobaoRequest;
import com.taobao.api.internal.util.TaobaoHashMap;

import com.taobao.api.response.PlaceStoreDeleteResponse;

/**
 * TOP API: taobao.place.store.delete request
 * 
 * @author top auto create
 * @since 1.0, 2019.08.20
 */
public class PlaceStoreDeleteRequest extends BaseTaobaoRequest<PlaceStoreDeleteResponse> {
	
	

	/** 
	* 门店id
	 */
	private Long storeId;

	public void setStoreId(Long storeId) {
		this.storeId = storeId;
	}

	public Long getStoreId() {
		return this.storeId;
	}

	public String getApiMethodName() {
		return "taobao.place.store.delete";
	}

	public Map<String, String> getTextParams() {		
		TaobaoHashMap txtParams = new TaobaoHashMap();
		txtParams.put("store_id", this.storeId);
		if(this.udfParams != null) {
			txtParams.putAll(this.udfParams);
		}
		return txtParams;
	}

	public Class<PlaceStoreDeleteResponse> getResponseClass() {
		return PlaceStoreDeleteResponse.class;
	}

	public void check() throws ApiRuleException {
		RequestCheckUtils.checkNotEmpty(storeId, "storeId");
	}
	

}